<?php /* Smarty version Smarty-3.0.7, created on 2012-01-25 21:24:13
         compiled from "./view/action/spary/spar_info.tpl" */ ?>
<?php /*%%SmartyHeaderCode:278344e3427fbefcb97-84583591%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '850df07a0651fceb13cd989f4fd6764ea6f84892' => 
    array (
      0 => './view/action/spary/spar_info.tpl',
      1 => 1313235645,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '278344e3427fbefcb97-84583591',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class='nag'><span>Informacje o sparingu</span></div>

	<?php if (isset($_smarty_tpl->getVariable('row',null,true,false)->value)){?>
    
    	<table style='margin: 20px;'>
    	 <tr><td>Data:</td><td><?php echo $_smarty_tpl->getVariable('row')->value['spar_date'];?>
</td></tr>
         <tr><td>Godzina:</td><td><?php echo $_smarty_tpl->getVariable('row')->value['spar_time'];?>
</td></tr>
         <tr><td>Ilość graczy w jednej drużynie:</td><td><?php echo $_smarty_tpl->getVariable('row')->value['spar_players'];?>
</td></tr>
         <tr><td>Ip serwera na którym rozegra się sparing:</td><td><?php echo $_smarty_tpl->getVariable('row')->value['spar_serwer_ip'];?>
</td></tr>
         <tr><td>Klan dodający:</td><td><a href='http://<?php echo $_smarty_tpl->getVariable('page')->value;?>
/clans/clan_info/<?php echo $_smarty_tpl->getVariable('row')->value['spar_user_add'];?>
'><?php echo $_smarty_tpl->getVariable('row')->value['user_team_name'];?>
</a></td></tr>
         <tr><td>Gra:</td><td><?php echo $_smarty_tpl->getVariable('row')->value['spar_game_type'];?>
</td></tr>
         <tr><td>Rodzaj gry:</td><td><?php echo $_smarty_tpl->getVariable('row')->value['spar_game_status'];?>
</td></tr>
        </table> 
		<?php if ($_smarty_tpl->getVariable('row')->value['spar_user_connect']==0){?>        
       	 	<form method='POST'>
        		<input type='submit' name='connect' value='Dołącz' />
        	</form>	
        <?php }?>
    <?php }?>
    
	<?php if (isset($_smarty_tpl->getVariable('actionMessage',null,true,false)->value)){?>
      <?php echo $_smarty_tpl->getVariable('actionMessage')->value;?>

	<?php }?>